package com.taocore.invite.action;

import org.apache.struts2.ServletActionContext;

public class InviteAction extends ActionBase{

	private long appId;
	private String invitor;
	
	public String execute()
	{
		String ip = ServletActionContext.getRequest().getLocalAddr();
		//todo: store in db
		return SUCCESS;
	}

	public void setAppId(long appId) {
		this.appId = appId;
	}

	public long getAppId() {
		return appId;
	}

	public void setInvitor(String invitor) {
		this.invitor = invitor;
	}

	public String getInvitor() {
		return invitor;
	}

}
